//
//  AppDelegate+ManyWindows.m
//  lvfj
//
//  Created by lvfeijun on 2021/7/8.
//  Copyright © 2021 Goudu KuaiEx Technology(Shenzhen)Co.,ltd. All rights reserved.
//

#import "AppDelegate+ManyWindows.h"

@implementation AppDelegate (ManyWindows)

#pragma mark - ipad多窗口配置，导致获取window异常各种弹窗位置不对

//1.删除掉info.plist中Application Scene Manifest选项，同时，文件SceneDelegate可删除可不删
//2.相关代码注释掉
//3.Appdelegate新增windows属性
#pragma mark - UISceneSession lifecycle

//- (UISceneConfiguration *)application:(UIApplication *)application configurationForConnectingSceneSession:(UISceneSession *)connectingSceneSession options:(UISceneConnectionOptions *)options
//{
//    // Called when a new scene session is being created.
//    // Use this method to select a configuration to create the new scene with.
//    return [[UISceneConfiguration alloc] initWithName:@"Default Configuration" sessionRole:connectingSceneSession.role];
//}


//- (void)application:(UIApplication *)application didDiscardSceneSessions:(NSSet<UISceneSession *> *)sceneSessions
//{
//    // Called when the user discards a scene session.
//    // If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions.
//    // Use this method to release any resources that were specific to the discarded scenes, as they will not return.
//}
@end
